#include "MainWindow.h"
#include <QApplication>
#include <QTranslator>


int main(int argc, char* argv[])
{

    QApplication a(argc, argv);
    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QTranslator* Translator = new QTranslator();
    QString aa = QCoreApplication::applicationName() + "_" + QLocale::system().name();
    Translator->load(":/translation/" + QCoreApplication::applicationName() + "_" + QLocale::system().name());
    a.installTranslator(Translator);
    MainWindow w;
    w.show();
    return a.exec();
}
